package gms.service.match;

import java.util.List;


import gms.entities.match.MatchApply;
import gms.entities.match.MatchInfo;
import gms.util.PageBean;

/**
 * 赛事申请表服务接口
 * @author damage
 *
 */
public interface MatchApplyService {

	public boolean save(MatchApply matchApply);  //保存赛事申请表服务
	public PageBean<MatchApply> findByPage(int currPage); //分页查找赛事申请报服务
	public List<MatchApply> examine();  //审核申请成功的赛事申请表
	public MatchApply findByID(int matchApplyID); //查找该ID的赛事申请表
	public PageBean<MatchApply> listPage(int currPage,List<MatchApply> list);  //对赛事申请表列表进行分页处理
	public void exPassed(MatchApply matchApply);  //审核通过，更新审核状态为审核通过
	public void exFailed(MatchApply matchApply);  //审核不通过，更新审核状态为审核不通过
	public void toMatchInfo(MatchApply matchApply);  //将赛事申请表转为赛事信息表并保存
	public void delete(MatchApply matchApply);  //删除赛事申请表
}
